package com.sprucetec.live.service;

import com.sprucetec.live.common.dto.PagedListDTO;
import com.sprucetec.live.common.dto.business.LiveAnchorDto;
import com.sprucetec.live.common.dto.business.LiveIntranetIpDto;
import com.sprucetec.live.entity.LiveIntranetIp;

import java.util.List;
import java.util.Map;

/**
 * 内网IP服务
 * author kenny
 */
public interface LiveIntranetIpService {

    /**
     * 分页查询内网IP列表
     *
     * @param liveIntranetIpDto
     * @return
     */
    PagedListDTO<LiveIntranetIp> getLiveIpListPage(LiveIntranetIpDto liveIntranetIpDto);


    /**
     * 新增内网IP
     *
     * @param liveIntranetIp
     */
    void addLiveIp(LiveIntranetIp liveIntranetIp);

    /**
     * 修改内网IP
     *
     * @param liveIntranetIp
     */
    void updateLiveIp(LiveIntranetIp liveIntranetIp);

    /**
     * 删除内网IP
     *
     * @param id
     */
    void deleteLiveIp(Long id);

    /**
     * 获取所有的内网IP
     *
     * @return
     */
    List<LiveIntranetIp> getLiveList();
}
